<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">
<!-- 当有v-model的时候，name可以省略 -->
  <label for="male">
    <input type="radio" id="male" v-model="sex" value="男">男
  </label>
  <label for="female">
    <input type="radio" id="female" v-model="sex" value="女">女
  </label>
  <h2>您选择的是:{{sex}}</h2>
</div>
<script src="../js/vue.js"></script>
<script>
  const vm=new Vue({
    el:'#app',
    data:{
      sex:'男'
    }
  })
</script>

</body>
</html>